package com.baichuan.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: leo
 * @Date: 2021/9/20 20:25
 * @Description:
 */
@Data
@NoArgsConstructor
public class AppUser implements Serializable {
    private static final long serialVersionUID = 1L;
    //小程序openid
    private String openId;
    //账号状态 0未注册、1审核中、2审核通过、3审核未通过
    private Integer accountStatus;
    //最后一次注册申请id
    private Integer lastRegApplyId;
    //绑定的车商用户id
    private Integer bindUserId;
    //绑定的车商id
    private Integer bindDealerId;
    //最后一次登录时间
    private Date lastLoginTime;
    //创建时间
    private Date createTime;

    private Date bindTime;

    private Date unbindTime;

    private Integer unbindUserId;

    //客户经理id
    private Integer custMagerId;


    //未注册
    public static final Integer ACCOUNT_STATUS_UNREG = 0;
    //审核中
    public static final Integer ACCOUNT_STATUS_AUDITING = 1;
    //审核通过
    public static final Integer ACCOUNT_STATUS_AUDIT_PASS = 2;
    //审核未通过，可再次申请
    public static final Integer ACCOUNT_STATUS_AUDIT_UNPASS = 3;

}
